package com.woniu.venue.service;

import com.github.pagehelper.PageInfo;
import com.woniu.venue.dto.recruit.RecruitDto;
import com.woniu.venue.model.Recruit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.venue.param.recruit.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface RecruitService extends IService<Recruit> {

    RecruitDto addRecruit(AddRecruitParam param);

    void deleteRecruit(Integer recruitId);

    PageInfo<RecruitDto> searchRecruit(SearchRecruitParam param);

    PageInfo<RecruitDto> loadRecruit(LoadRecruitParam param);

    PageInfo<RecruitDto> loadForCoach(LoadRecruitForCoachParam param);

    RecruitDto showRecruit(Integer id);

    RecruitDto updateRecruit(UpdateRecruitParam param);
}
